package com.ruoyi.common.core.redis.fake.mapper;


import com.ruoyi.common.core.redis.fake.domain.SysFakeRedisCache;

import java.util.Collection;
import java.util.List;

/**
 * 参数配置 数据层
 *
 * @author ruoyi
 */
public interface SysFakeRedisCacheMapper
{

    public SysFakeRedisCache selectCache(String key);

    public List<SysFakeRedisCache> selectCacheList(Collection<String> keys);

    public int insertCache(SysFakeRedisCache cache);

    public int updateCache(SysFakeRedisCache cache);

    public int deleteCacheByKey(String key);

    public int deleteCacheByKeys(Collection<String> keys);

    public Collection<String> keys(String pattern);
}
